package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.AttrGroupEntity;
import com.atguigu.gulimall.product.vo.AttrGroupRelationVo;
import com.atguigu.gulimall.product.vo.AttrGroupWitchattrVo;
import com.atguigu.gulimall.product.vo.SpuItemAttrGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author mayp
 * @email 1582240996@qq.com
 * @date 2020-06-05 17:09:03
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params,Long catelogId);

    void deleteAttrGroupList(AttrGroupRelationVo[] attrGroupRelationVo);

    List<AttrGroupWitchattrVo> getAttrGroupWitchAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWitchAttrsBySpuId(Long spuId,Long catalogId);

}

